package com.justgame.project.service.system.dto;

import java.io.Serializable;

import com.justgame.project.cloud.base.entity.StringEncrypt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.justgame.project.service.system.entity.SysUserInfo;

/**
*
* 用户信息表传输层
*
* @tableName sys_user_info
* @author Zwb
* @since 2023-02-10
*/
@Data
@ApiModel(value="SysUserInfo对象传输层", description="用户信息表传输层")
public class SysUserInfoDTO implements Serializable{
    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 账号
     */
    @ApiModelProperty(value = "账号")
    private String userName;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    private StringEncrypt password;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    private SysUserInfo.Sex sex;

    /**
     * 是否为管理员
     */
    @ApiModelProperty(value = "是否为管理员")
    private Boolean isAdmin;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private SysUserInfo.Status status;

    /**
     * 电子邮箱
     */
    @ApiModelProperty(value = "电子邮箱")
    private String email;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phoneNumber;

    /**
     * 角色
     */
    @ApiModelProperty(value = "角色")
    private SysUserInfo.Role role;

}
